package com.sgb.kjwl.model.entity.business;

import android.text.TextUtils;

import com.contrarywind.interfaces.IPickerViewData;
import com.google.gson.annotations.SerializedName;

import java.util.List;

public class CarEntity implements IPickerViewData {
    @SerializedName(value = "id", alternate = {"no"})
    private String id;
    private String companyNo;
    private String companyName;
    private String operatorName;
    private String secondDepartNo;
    private String secondDepartName;

    //保存申请信息字段
    private String applier;//申请人
    private String empNo;//申请人编号
    private String departName;//申请部门
    private String departNo;//申请部门编号
    private String operator;//经办人
    private String applyCar;//申请车辆
    private String carNo;//车辆编号
    private String purpose;//用途
    private String mark;//备注
    private String startTime;
    private String endTime;
    private List<String> images;

    private String state;

    //印章和车辆的详情中拼接标题的字段
    private String submitter;

    //车辆信息
    private String carInfo;

    public String getSecondDepartNo() {
        return secondDepartNo;
    }

    public void setSecondDepartNo(String secondDepartNo) {
        this.secondDepartNo = secondDepartNo;
    }

    public String getSecondDepartName() {
        return secondDepartName;
    }

    public void setSecondDepartName(String secondDepartName) {
        this.secondDepartName = secondDepartName;
    }

    public String getSubmitter() {
        return TextUtils.isEmpty(submitter) ? "" : submitter;
    }

    public void setSubmitter(String submitter) {
        this.submitter = submitter;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCompanyNo() {
        return companyNo;
    }

    public void setCompanyNo(String companyNo) {
        this.companyNo = companyNo;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getOperatorName() {
        return operatorName;
    }

    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName;
    }

    public String getCarInfo() {
        return carInfo;
    }

    public void setCarInfo(String carInfo) {
        this.carInfo = carInfo;
    }

    public String getApplier() {
        return applier;
    }

    public void setApplier(String applier) {
        this.applier = applier;
    }

    public String getEmpNo() {
        return empNo;
    }

    public void setEmpNo(String empNo) {
        this.empNo = empNo;
    }

    public String getDepartName() {
        return departName;
    }

    public void setDepartName(String departName) {
        this.departName = departName;
    }

    public String getDepartNo() {
        return departNo;
    }

    public void setDepartNo(String departNo) {
        this.departNo = departNo;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getApplyCar() {
        return applyCar;
    }

    public void setApplyCar(String applyCar) {
        this.applyCar = applyCar;
    }

    public String getCarNo() {
        return carNo;
    }

    public void setCarNo(String carNo) {
        this.carNo = carNo;
    }

    public String getPurpose() {
        return purpose;
    }

    public void setPurpose(String purpose) {
        this.purpose = purpose;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public List<String> getImages() {
        return images;
    }

    public void setImages(List<String> images) {
        this.images = images;
    }

    @Override
    public String getPickerViewText() {
        return carInfo;
    }
}
